﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.Business.Component
{
    public class UserComponent
    {
        private static UserDAC db = new UserDAC();

        public static List<User> User_GetByTop(string Top, string Where, string Ord)
        {
            return db.User_GetByTop(Top, Where, Ord);
        }

        public static void User_Insert(User user)
        {
            db.User_Insert(user);
        }
    }
}
